home *** CD-ROM | disk | FTP | other *** search
Wrap
card_3918.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>3918</id> <filler1>0</filler1> <bitmap>BMAP_4608.pbm</bitmap> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>3627</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3270.css" /> <part> <id>1</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <true /> </autoTab> <lockText> <false /> </lockText> <rect> <left>272</left> <top>87</top> <right>327</right> <bottom>113</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <true /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <textHeight>16</textHeight> <name>VolumeSize</name> <script>on closeField put cd fld "VolumeSize" into VOLSIZE put empty into cd fld "MinFileSize" if VOLSIZE <= 0 then answer "I don't understand the volume size." exit closeField end if if VOLSIZE > 2000 then answer "The Mac's HFS file system does not currently handle volumes larger than 2 Gbytes." exit closeField end if if VOLSIZE mod 32 = 0 then put VOLSIZE/32 into AllocBlocks else put trunc (VOLSIZE/32 + 1) into AllocBlocks end if if AllocBlocks < 1 then put 1 into AllocBlocks put AllocBlocks / 2 & " - " & AllocBlocks & " Kbytes" into cd fld "MinFileSize" end closeField</script> </part> <part> <id>3</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>215</left> <top>167</top> <right>333</right> <bottom>192</bottom> </rect> <style>opaque</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <true /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>12</textSize> <textStyle>plain</textStyle> <textHeight>16</textHeight> <name>MinFileSize</name> <script></script> </part> <part> <id>6</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>398</left> <top>130</top> <right>460</right> <bottom>176</bottom> </rect> <style>transparent</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>32462</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name></name> <script>on mouseUp go to card id 2763 end mouseUp </script> </part> <content> <layer>card</layer> <id>1</id> <text>90</text> </content> <content> <layer>card</layer> <id>3</id> <text>1.5 - 3 Kbytes</text> </content> <name></name> <script></script> </card> card_2763.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>2763</id> <filler1>0</filler1> <cantDelete> <false /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>3627</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3270.css" /> <part> <id>1</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <false /> </lockText> <rect> <left>25</left> <top>8</top> <right>485</right> <bottom>271</bottom> </rect> <style>scrolling</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <true /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>12</textSize> <textStyle>plain</textStyle> <textHeight>16</textHeight> <name></name> <script></script> </part> <part> <id>2</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>346</left> <top>283</top> <right>452</right> <bottom>328</bottom> </rect> <style>shadow</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>29114</icon> <textAlign>center</textAlign> <font>Chicago</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name></name> <script>on mouseUp go to card id 3918 end mouseUp </script> </part> <content> <layer>card</layer> <id>1</id> <text><span class="style4">bout Mac Disk Partition Sizer: </span><span class="style5">(Copyright 1994 by Ric Ford, Maynard, Mass. USA. All rights reserved. You may NOT distribute this stack on a CD-ROM or on any other medium.)</span><span class="style6"> </span><span class="style1"> To use this stack, simply type the size of a disk partition into "Volume size", and press Return. The stack will calculate the minimum file sizes for you. (The smaller size is for a file with only data or only resources in it. The larger size is for a file with both.) The design of the Macintosh HFS file system makes the minimum size for a file larger with larger disks. The minimum size for any file on the smallest disk is 512 bytes or 0.5 Kbytes. The minimum size for a file with both data and a resources inside is 1024 bytes, or 1.0 Kbytes. As soon as the disk is larger than 32 Mbytes, the minimum file sizes grow larger, and they grow larger with every 32 Mbytes of disk size. If you have a 1-Gbyte disk, the smallest file will occupy at least 16 Kbytes. If you have a lot of these files, you'll be wasting quite a bit of space. The solution to this problem is splitting a disk into smaller partitions. Partitions can also help in managing security and file organization. Please contact Ric with suggestions and questions at 72511,44 on CompuServe, ricford@world.std.com on the Internet, or RICFORD on AppleLink. </span></text> </content> <name></name> <script></script> </card>